-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for starting kubelet with a CSI volume mounted #118097
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see how this has to make some assumptions about how KinD operates, but it doesn't seem too bad to me.
To test kubernetes#117745, restart kubelet with a CSI volume mounted *and* the API server running as a static pod. The test heavily uses `kind` containers and the fact that it uses the API server as a static pod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, otherwise looks good.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
/retest |
LGTM label has been added. Git tree hash: b897c1d95f946258af9879661fde0e7190f864ea
|
What type of PR is this?
/kind feature
What this PR does / why we need it:
To have a regression tests for #117745, i.e. restart kubelet with a CSI volume mounted and the API server running as a static pod. We expect that the API server (or any other static pod) starts.
The test heavily uses
kind
containers and the fact that it runs the API server as a static pod.I am adding it to sig-storage tests, I won't object if someone adds more similar tests and moves it to sig-node.
Which issue(s) this PR fixes:
Related to #117745
Special notes for your reviewer:
High level plan:
--focus=[Feature:Kind]
): Add sig-storage job that uses KIND test-infra#29544NewVolumeManagerReconstruction
, this test should fail.NewVolumeManagerReconstruction
+ Fix reconstruction of CSI volumes #117804, this test should succeed.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: